@import "lib/style/common";

.boat-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border-radius: 8px;
  min-width: 200px;
  max-width: 80vw;
  min-height: 80px;
  max-height: 80vh;
  z-index: 99;
  padding: 12px;
  opacity: 0;
  transition: all 150ms linear;
  &.show {
    opacity: 1;
  }
  &-header {
    @include spaceBetween;
    margin-bottom: 4px;
  }
  &-title {
    font-weight: bold;
    font-size: 18px;
  }
  &-close {
  }
  &-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 98;
    background: fade-out(black, 0.5);
    opacity: 0;
    transition: all 150ms linear;
    &.show {
      opacity: 1;
    }
  }
  &-modal {
    display: flex;
    flex-direction: column;
  }
  &-content {
    flex-grow: 1;
    min-height: 80px;
  }
  &-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    .boat-button {
      &:not(:last-child) {
        margin-right: 12px;
      }
    }
  }
}